package exp;

/**
 * Very abstract presentation of a node.
 * 
 * @author gogolex
 */
public abstract class Node {
	
	private Node leftNode, rightNode;
	
	public Node(Node right, Node left){
		this.leftNode = left;
		this.rightNode = right;
	}

	public Node getLeftNode() {
		return leftNode;
	}

	public Node getRightNode() {
		return rightNode;
	}
	
	public abstract boolean isLeaf();
}
